package com.ruoyi.email.service;

import java.util.List;
import com.ruoyi.email.domain.TmdEmailRubbish;
import com.ruoyi.email.domain.TmdEmailWrite;
import com.ruoyi.email.vo.TmdEmailRubbishAndWrite;

/**
 * 垃圾箱Service接口
 * 
 * @author ruoyi
 * @date 2024-04-20
 */
public interface ITmdEmailRubbishService 
{
    /**
     * 查询垃圾箱
     * 
     * @param id 垃圾箱主键
     * @return 垃圾箱
     */
    public TmdEmailRubbishAndWrite selectTmdEmailRubbishById(int id);

    /**
     * 查询垃圾箱列表
     * 
     * @param tmdEmailRubbish 垃圾箱
     * @return 垃圾箱集合
     */
    public List<TmdEmailRubbishAndWrite> selectTmdEmailRubbishList(TmdEmailWrite tmdEmailWrite);

    /**
     * 新增垃圾箱
     * 
     * @param tmdEmailRubbish 垃圾箱
     * @return 结果
     */
    public int insertTmdEmailRubbish(TmdEmailRubbish tmdEmailRubbish);

    /**
     * 修改垃圾箱
     * 
     * @param tmdEmailRubbish 垃圾箱
     * @return 结果
     */
    public int updateTmdEmailRubbish(TmdEmailRubbish tmdEmailRubbish);

    /**
     * 批量删除垃圾箱
     * 
     * @param ids 需要删除的垃圾箱主键集合
     * @return 结果
     */
    public int deleteTmdEmailRubbishByIds(String ids);

    /**
     * 删除垃圾箱信息
     * 
     * @param id 垃圾箱主键
     * @return 结果
     */
    public int deleteTmdEmailRubbishById(int id);
}
